package com.ecode.ecny.exception;

/**
 * @ClassName TrxErrorEnums
 * @Author mjlft
 * @Date 2021/8/14 11:52
 * @Version 1.0
 * @Description 错误码枚举
 */
public enum TrxErrorEnums {
    SYS_SUCC("SYS_SUCC_001", "交易成功"),
    SYS_ERROR("SYS_ERROR_001", "系统错误"),

    SYS_SIGN_DTL_ERROR("SYS_SIGN_001", "签约初始化失败"),

    SYS_INSPECT_REP("SYS_INSPECT_001", "交易重复");


    private String code;
    private String msg;

    TrxErrorEnums(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
